<%@ include file="/init.jsp" %>
<%@include file="../script.jsp" %>
<%
	
%>
<div class="menu-box">
	<%@include file="../menu.jsp" %>
</div>
<div id="content-box">
	<div class="padding">
	    <div id="toolbar-box">
	       <div class="t">
	           <div class="t">
	               <div class="t"></div>
	           </div>
	       </div>
	       <div class="m">
	           <div id="toolbar" class="toolbar">
	               <table class="toolbar">
	                   <tbody>
	                       <tr>
								<td id="toolbar-save" class="button">
									<a class="toolbar" href="javascript:void(0)" onclick="shopping.postFormCurrency('adminform')">
									    <span title="Save" class="icon-32-save">
									    </span>
									    <liferay-ui:message key="label-save" />
									</a>
								</td>
								<td id="toolbar-cancel" class="button">
								    <a class="toolbar" href='<s:url action="currency"></s:url>'>
								        <span title="Cancel" class="icon-32-cancel">
								        </span>
								        <liferay-ui:message key="label-cancel" />
								    </a>
								</td>
	                       </tr>
	                   </tbody>
	               </table>
	           </div>
	           <div class="header icon-48-article">
	               <liferay-ui:message key="label-add-currency" />
	           </div>
	           <%
				Integer errorCode = (Integer)request.getAttribute("errorCode");
				if(errorCode!=null ){%>
					<dl id="system-message">
					    <%if(errorCode < 0){%>
					    <dd class="error message fade">
						    <ul>
						        <li><liferay-ui:message key="label-execute-error" /></li>
						    </ul>
						</dd>
						
					<%}else{%>
						<dd class="message message fade">
						    <ul>
						        <li><liferay-ui:message key="label-execute-success" /></li>
						    </ul>
						</dd>
					<%}%>
					</dl>
				<%}%>
	           <div class="clr"></div>
	       </div>
	       <div class="b">
	           <div class="b">
	               <div class="b"></div>
	           </div>
	       </div>
	    </div>
	    <div id="element-box">
	        <div class="t">
	           <div class="t">
	               <div class="t"></div>
	           </div>
	        </div>
	        <div class="m">
				<form action='<s:url action="addCurrency"></s:url>' method="post" id="adminform" name="adminform">
				    <table width="100%">
				        <tr>
				            <td width="15%">
				                <label><liferay-ui:message key="label-currency-name" /> :</label>
				            </td>
				            <td>
				                <input id="title" type="text" name="title" value="" size="50" maxlength="255"/>
				            </td>
				        </tr>				        
				    </table>				    
				</form>
	        </div>
	        <div class="b">
	           <div class="b">
	               <div class="b"></div>
	           </div>
	        </div>
	    </div>
	</div>
</div>